<include file="header"/>
<div class="wraper flex-box flex-top" js="wapjs/base/activitydinner/js/pay.js">
    <div class="flex-auto">
        <div class="header special_header flex-box">
            <a href="javascript:history.go(-1);" class="iconfont icon-left"></a>
            <span class="text-center">手机绑定</span>
            <a href="javascript:;" class=""></a>
        </div>
        <div class="logo_contain">
            <div class="logo_box flex-box">
                <div class="logo"><img src="/assets/base/activitydinner/images/hd_logo.png"></div>
                <div class="logo"><img src="/assets/base/activitydinner/images/xyh_logo.png"></div>
            </div>
        </div>
        <div class="lists">
            <div class="list-line flex-box flex-between">
                <span>{BEESCRM:$dataBind['user_name']}</span>
                <span>{BEESCRM:$dataBind['card_no']}</span>
            </div>
            <div class="list-line flex-box text-center">
                <div class="flex-auto mealtime"><p class="text-blue">{BEESCRM:$dataBind['has_count']}</p><p>已用餐次数</p></div>
                <div class="flex-auto mealtime"><p class="text-red">{BEESCRM:$dataBind['total_count'] - $dataBind['has_count']}</p><p>剩余用餐次数</p></div>
            </div>
        </div>
        <div class="lists top-block text-center">
            <p class="qrcode qrcode_message" <if condition="$is_time_dinner gt 0">style="display:block; background-color: #efeff4"<else />style="display:none"</if> >
                <if condition = "$is_time_dinner eq 2">
                    当前餐次已用餐
                <elseif  condition = "$is_time_dinner eq 1"/>
                    当前不在用餐时间内
                <else />
                    本次用餐完成
                </if>
            </p>
            <img class="qrcode" <if condition="$is_time_dinner gt 0">style="display:none;"</if> src="{BEESCRM::U('base/ActivityDinner/qrcode',array('account_id'=>$account_id))}" />
            <p class="text-deepgray">出示二维码入场就餐</p>
        </div>
        <a href="/base/ActivityDinner/location/account_id/{BEESCRM:$account_id}" class="lists top-block flex-box flex-between">
            <span class="text-deepgray">餐厅位置介绍</span>
            <span class="iconfont icon-right text-deepgray"></span>
        </a>
    </div>
    <div class="copyright text-center">
        <p><span>技术支持：杭州青橄榄网络</span></p>
    </div>
</div>
<input id="account_id" type="hidden" value="{BEESCRM:$account_id}" />
<input id="is_time_dinner" type="hidden" value="{BEESCRM:$is_time_dinner}" />
<include file="footer"/>